package com.net.shop.car.manager.api.volley.request;

import org.json.JSONException;
import org.json.JSONObject;

import com.net.shop.car.manager.api.volley.Request;
import com.net.shop.car.manager.utils.Constants;
import com.net.shop.car.manager.utils.LogUtils;

public class HeadImage extends Request {

	private String memberid;
	private String headimg;

	public HeadImage(String memberid, String headimg) {
		super(Constants.HEADIMGE);
		this.memberid = memberid;
		this.headimg = headimg;
	}

	@Override
	public void extensionJSON(JSONObject jsonObject) {
		// TODO Auto-generated method stub
		try {
			jsonObject.put("memberid", memberid);
			jsonObject.put("headimg", headimg);
		} catch (JSONException e) {
			LogUtils.e(e.getMessage());
		}
	}

	public String getMemberid() {
		return memberid;
	}

	public String getHeadimg() {
		return headimg;
	}

}
